﻿using System.Xml.Serialization;


namespace CMISForSharePoint.cmisTypes
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.cmis.org/2008/05")]
    [System.Xml.Serialization.XmlRootAttribute("query", Namespace = "http://www.cmis.org/2008/05", IsNullable = false)]
    public partial class cmisQueryType
    {

        private string repositoryIdField;

        private string statementField;

        private bool searchAllVersionsField;

        private bool searchAllVersionsFieldSpecified;

        private string pageSizeField;

        private string skipCountField;

        private bool returnAllowableActionsField;

        private bool returnAllowableActionsFieldSpecified;

        private System.Xml.XmlElement[] anyField;

        private System.Xml.XmlAttribute[] anyAttrField;

        /// <remarks/>
        public string repositoryId
        {
            get
            {
                return this.repositoryIdField;
            }
            set
            {
                this.repositoryIdField = value;
            }
        }

        /// <remarks/>
        public string statement
        {
            get
            {
                return this.statementField;
            }
            set
            {
                this.statementField = value;
            }
        }

        /// <remarks/>
        public bool searchAllVersions
        {
            get
            {
                return this.searchAllVersionsField;
            }
            set
            {
                this.searchAllVersionsField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool searchAllVersionsSpecified
        {
            get
            {
                return this.searchAllVersionsFieldSpecified;
            }
            set
            {
                this.searchAllVersionsFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
        public string pageSize
        {
            get
            {
                return this.pageSizeField;
            }
            set
            {
                this.pageSizeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
        public string skipCount
        {
            get
            {
                return this.skipCountField;
            }
            set
            {
                this.skipCountField = value;
            }
        }

        /// <remarks/>
        public bool returnAllowableActions
        {
            get
            {
                return this.returnAllowableActionsField;
            }
            set
            {
                this.returnAllowableActionsField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool returnAllowableActionsSpecified
        {
            get
            {
                return this.returnAllowableActionsFieldSpecified;
            }
            set
            {
                this.returnAllowableActionsFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAnyElementAttribute()]
        public System.Xml.XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAnyAttributeAttribute()]
        public System.Xml.XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }
    }

}